package com.seednia.foundation.framework.util;

import java.util.List;

/**
 * Interface that defined hierarchical structure
 * @author Young Suk Ahn
 *
 * @param <T>
 */
public interface IHierarchical<T> {

	T getParent();
	
	void setParent(T parent);
	
	void addChild(T child);
	
	List<T> getChildren();
	
	T getChildrenAt(int index);
}
